﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Clipper.Model
{
    /// <summary>
    /// 质控数据显示类
    /// </summary>
    public class QCDataItem:AbstractModel
    {
        int _id;
        DateTime _QCTime;
        double _value;
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="id"></param>
        /// <param name="qcTime"></param>
        /// <param name="value"></param>
        public QCDataItem(int id, DateTime qcTime, double value)
        {
            _id = id;
            _QCTime = qcTime;
            _value = value;
        }
        /// <summary>
        /// 编号
        /// </summary>
        public int ID
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
                NotifyPropertyChanged("ID");
            }
        }
        /// <summary>
        /// 质控时间
        /// </summary>
        public DateTime QCTime
        {
            get
            {
                return _QCTime;
            }
            set
            {
                _QCTime = value;
                NotifyPropertyChanged("QCTime");
            }
        }
        /// <summary>
        /// 质控结果
        /// </summary>
        public double Value
        {
            get
            {
                return _value;
            }
            set
            {
                _value = value;
                NotifyPropertyChanged("Value");
            }
        }

    }
}
